﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lyh.Train.Data
{
    public class AutoSubmitOrderRequestData
    {
        public string result { get; set; }
        public bool submitStatus { get; set; }
    }

    public class GetQueueCountAsyncData
    {
        public string count { get; set; }
        public string ticket { get; set; }
        public string op_2 { get; set; }
        public string countT { get; set; }
        public string op_1 { get; set; }
    }

    public class ConfirmSingleForQueueAsysData
    {
        public bool submitStatus { get; set; }
    }

    #region --QueryMyOrderNoCompleteData--

    public class TrainDTO
    {
    }

    public class StationTrainDTO
    {
        public TrainDTO trainDTO { get; set; }
        public string station_train_code { get; set; }
        public string from_station_telecode { get; set; }
        public string from_station_name { get; set; }
        public string start_time { get; set; }
        public string to_station_telecode { get; set; }
        public string to_station_name { get; set; }
        public string arrive_time { get; set; }
        public string distance { get; set; }
    }

    public class PassengerDTO
    {
        public string passenger_name { get; set; }
        public string passenger_id_type_code { get; set; }
        public string passenger_id_type_name { get; set; }
        public string passenger_id_no { get; set; }
    }

    public class Ticket
    {
        public StationTrainDTO stationTrainDTO { get; set; }
        public PassengerDTO passengerDTO { get; set; }
        public string ticket_no { get; set; }
        public string sequence_no { get; set; }
        public string batch_no { get; set; }
        public string train_date { get; set; }
        public string coach_no { get; set; }
        public string coach_name { get; set; }
        public string seat_no { get; set; }
        public string seat_name { get; set; }
        public string seat_flag { get; set; }
        public string seat_type_code { get; set; }
        public string seat_type_name { get; set; }
        public string ticket_type_code { get; set; }
        public string ticket_type_name { get; set; }
        public string reserve_time { get; set; }
        public string limit_time { get; set; }
        public string lose_time { get; set; }
        public string pay_limit_time { get; set; }
        public double ticket_price { get; set; }
        public string print_eticket_flag { get; set; }
        public string resign_flag { get; set; }
        public string return_flag { get; set; }
        public string confirm_flag { get; set; }
        public string pay_mode_code { get; set; }
        public string ticket_status_code { get; set; }
        public string ticket_status_name { get; set; }
        public string cancel_flag { get; set; }
        public int amount_char { get; set; }
        public string trade_mode { get; set; }
        public string start_train_date_page { get; set; }
        public string str_ticket_price_page { get; set; }
        public string come_go_traveller_ticket_page { get; set; }
    }

    public class OrderDBList
    {
        public string sequence_no { get; set; }
        public string order_date { get; set; }
        public int ticket_totalnum { get; set; }
        public double ticket_price_all { get; set; }
        public string cancel_flag { get; set; }
        public string resign_flag { get; set; }
        public string return_flag { get; set; }
        public string print_eticket_flag { get; set; }
        public string pay_flag { get; set; }
        public string pay_resign_flag { get; set; }
        public string confirm_flag { get; set; }
        public List<Ticket> tickets { get; set; }
        public string reserve_flag_query { get; set; }
        public string if_show_resigning_info { get; set; }
        public string recordCount { get; set; }
        public string isNeedSendMailAndMsg { get; set; }
        public List<string> array_passser_name_page { get; set; }
        public List<string> from_station_name_page { get; set; }
        public List<string> to_station_name_page { get; set; }
        public string start_train_date_page { get; set; }
        public string start_time_page { get; set; }
        public string arrive_time_page { get; set; }
        public string train_code_page { get; set; }
        public string ticket_total_price_page { get; set; }
        public string come_go_traveller_order_page { get; set; }
        public string canOffLinePay { get; set; }
    }

    public class QueryMyOrderNoCompleteData
    {
        public List<OrderDBList> orderDBList { get; set; }
        public string to_page { get; set; }
    }

    #endregion

    public class ValidateMessages
    {
    }

    public class ServerResponseResult<T>
    {
        public string validateMessagesShowId { get; set; }
        public bool status { get; set; }
        public int httpstatus { get; set; }
        public T data { get; set; }
        public List<object> messages { get; set; }
        public ValidateMessages validateMessages { get; set; }
    }
}
